﻿using System.Windows;
using System.Windows.Media.Animation;

namespace DetiInteract.Guide
{
	/// <summary>
	/// Interaction logic for MainView.xaml
	/// </summary>
	public sealed partial class MainView : Window
	{
		/// <summary>
		/// 
		/// </summary>
		private MainViewModel _vm;

		/// <summary>
		/// 
		/// </summary>
		public MainView()
		{
			DetiInteract.Logger.Log.Instance.Write(this, "INFO", "MainView Initialized");

			Timeline.DesiredFrameRateProperty.OverrideMetadata(typeof(Timeline), new FrameworkPropertyMetadata { DefaultValue = 20 });

			_vm = new MainViewModel();
			this.DataContext = _vm;
		}
	}
}
